import Login from "../pages/login/Index.jsx";
import Register from "../pages/register/Index.jsx";
import BlogList from "../pages/blog/List.jsx";
import BlogAdd from "../pages/blog/Add.jsx";

const routes = [
    {
        path: "/login",
        component: Login,
    },
    {
        path: "/register",
        component: Register,
    },
    {
        path: "/blog/list",
        component: BlogList,
    },
    {
        path: "/blog/add",
        component: BlogAdd,
    },
];

const whiteList = ["/login", "/register"];

export { routes, whiteList };
